package com.xiaoyao.login.pojo;

import com.xiaoyao.login.listener.DomainObjectListenerProxy;

import javax.persistence.EntityListeners;
import javax.persistence.MappedSuperclass;

/**
 * @Classname IEntity
 * @Description TODO
 * @Date 2022/4/20 16:50
 * @Created by Lenovo
 */
@EntityListeners(DomainObjectListenerProxy.class)
@MappedSuperclass
public abstract class DomainObject implements IEntity{
    private String id;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }
}
